package com.jasonchoi.eurekaclient2.controller;

import lombok.extern.log4j.Log4j2;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Author: JasonChoi
 * @Date: 2020/2/21 16:04
 */
@Log4j2
@RestController
@RequestMapping("/client2")
public class HelloController {

    @RequestMapping()
    public String hello(){
        log.info("----------client2 log info test");
        log.debug("----------client2 log debug test");
        log.error("----------client2 log error test");
        return "client2 log test";
    }
}
